package com.lkm.app_ui.m.order_img;

import com.lkm.frame.otto.LinkBusEventFlag;
import com.lkm.frame.otto.ThreadEnforcer;
import com.lkm.market2_0.m.steelyarddata.OrderEntity;



public class OnGoodImageTackEvent implements LinkBusEventFlag {

    public String imgPath;
    public OrderEntity.GoodEntity goodEntity;
    public boolean isShowAiDiscern;

    public OnGoodImageTackEvent(String imgPath, OrderEntity.GoodEntity goodEntity) {
        this.imgPath = imgPath;
        this.goodEntity = goodEntity;
        if(this.goodEntity!=null)
            isShowAiDiscern = "isShow == true".equals(this.goodEntity.goodId);
    }

    @Override
    public ThreadEnforcer getThreadEnforcer() {
        return ThreadEnforcer.ANY;
    }

    @Override
    public boolean isStickyBroadcast() {
        return false;
    }
}
